//
//  GQHReviewView.h
//  Xanthium
//
//  Created by GuanQinghao on 05/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHCommentModel.h"


@protocol GQHReviewViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 删除我评论的
- (void)qh_removeReview;

/// 查看我评论的
- (void)qh_checkReview;

/// 查看评论我的
- (void)qh_checkComment;

@end


@interface GQHReviewView : UIView

/// 代理
@property (nonatomic, weak) id<GQHReviewViewDelegate> qh_delegate;
/// 评论列表
@property (nonatomic, strong) UITableView *qh_tableView;
/// 评论模型数组
@property (nonatomic, strong) NSMutableArray<GQHCommentModel *> *qh_commentModelArray;
/// 评价我的按钮
@property (nonatomic, strong) UIButton *qh_commentButton;
/// 我评价的按钮
@property (nonatomic, strong) UIButton *qh_reviewButton;

@end
